using System;
using System.Reflection;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace IReaper
{
    public partial class AboutForm : Form
    {
        public AboutForm()
        {
            InitializeComponent();

            LoadVersionInformation();
        }

        private void OpenWebsite(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Browser.BrowserManager.OpenWebsiteExternal(new Uri("http://www.ireaper.net"));
        }

        private void LoadVersionInformation()
        {
            Version version = Assembly.GetExecutingAssembly().GetName().Version;
            this.labelVersion.Text = version.ToString();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}